﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class Player
{
    public string name;
    public uint guesses;

    public Player(string name, uint guesses)
    {
        this.name = name;
        this.guesses = guesses;
    }
}

public class PlayerComparer : IComparer<Player>
{
    public int Compare(Player x, Player y)
    {
        return x.guesses.CompareTo(y.guesses);
    }
}
